<?php

namespace Wonfu\Core;

use DI\Container;

class AppConfig
{

    /**
     * @var string
     */
    private $controllerDir = '';

    /**
     * @var string
     */
    private $tmpDir = '';

    /**
     * @var string
     */
    private $rootDir = '';

    /**
     * @var Container
     */
    private static $container;

    /**
     * @return string
     */
    public function getControllerDir(): string
    {
        return $this->controllerDir;
    }

    /**
     * @param string $controllerDir
     */
    public function setControllerDir(string $controllerDir): void
    {
        $this->controllerDir = $controllerDir;
    }

    /**
     * @return string
     */
    public function getTmpDir(): string
    {
        return $this->tmpDir;
    }

    /**
     * @param string $tmpDir
     */
    public function setTmpDir(string $tmpDir): void
    {
        $this->tmpDir = $tmpDir;
    }

    /**
     * @return string
     */
    public function getRootDir(): string
    {
        return $this->rootDir;
    }

    /**
     * @param string $rootDir
     */
    public function setRootDir(string $rootDir): void
    {
        $this->rootDir = $rootDir;
    }

    /**
     * @return Container
     */
    public static function getContainer(): Container
    {
        return self::$container;
    }

    /**
     * @param Container $container
     */
    public static function setContainer(Container $container): void
    {
        self::$container = $container;
    }


}